package com.zqxq.lottery.api.service;

import com.alibaba.fastjson.JSONObject;

import javax.servlet.http.HttpServletRequest;
import java.math.BigDecimal;
import java.util.Map;

public interface IWechatService {

    JSONObject rechargeParams(HttpServletRequest request, Long userId, BigDecimal money);

    JSONObject consumeParams(HttpServletRequest request, Long userId, Long orderId, Long couponId, BigDecimal balancem, BigDecimal money);

    Map<String,String> getAccessToken(String code);
}
